package com.star.service.impl;

import com.star.mapper.TestMapper;
import com.star.domian.Test;
import com.star.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname TestServiceImpl
 * @Author Star
 * @Date 2021/5/19 - 12:06
 * @Description
 */
@Service
public class TestServiceImpl implements TestService {
    @Autowired
    private TestMapper testMapper;

    public List<Test> list(){
        return testMapper.selectAll();
    }
}
